package flc.ast;

/**
 * @Author: XiaoDan
 * @Date: 2023/8/24
 * @Description:
 */
public class Constant {
    //关键字
    /**
     * 悬浮文字
     */
    public static final String FLOAT_CHAR_KEY = "label";
    /**
     * 声音
     */
    public static final String VOICE_KEY = "voice";

    /**
     * 木鱼图标
     */
    public static final String WOODEN_FISH_KEY = "woodenFish";

    /**
     * 木鱼音色
     */
    public static final String MUSIC_TONE_KEY = "musicTone";
    /**
     * 敲打时间间隔
     */
    public static final String TOUCH_INTERVAL_KEY = "interval";

    /**
     * 计数
     */
    public static final String COUNT_KEY = "count";
    /**
     * 倒计时
     */
    public static final String COUNT_DOWN_KEY = "count_down_time";
    //-1,0,1,2 -1:手动，0:一直敲，1:计数，2:倒计时

    public static final String ATTACK_MODE_WAY = "mode";
    public static final int MANUAL_OPERATION = -1;
    public static final int ALWAYS_OPERATION = 0;
    public static final int COUNT_OPERATION = 1;
    public static final int COUNT_DOWN_OPERATION = 2;

    //发送广播
    public static final String BROADCAST_SEND_BACK_INFO = "broadcast_back_info";

    //设置透明度关键字
    /**
     * 全局透明度
     */
    public static final String ALL_TYPE = "allFloat";
    /**
     * 背景透明度
     */
    public static final String BG_TYPE = "bgFloat";
    /**
     * 悬浮文字透明度
     */
    public static final String FONT_TYPE = "font";
    /**
     * 隐藏图标透明度
     */
    public static final String ICON_TYPE = "icon";
}
